using System;

/// <summary>
/// Summary description for ControlBaseClass
/// </summary>
public static class ControlHelperClass
{
    private static string _medicationFolderPath = string.Empty;
    private static string _labResultFolderPath = string.Empty;
    private static string _ccdFolderPath = string.Empty;
    private static string _ccrFolderPath = string.Empty;
    private static Guid _applicationId = new Guid();
    private static Guid _patientId = new Guid();

    public static string MedicationFolderPath
    {
        get { return _medicationFolderPath; }
        set { _medicationFolderPath = value; }
    }

    public static string LabResultFolderPath
    {
        get { return _labResultFolderPath; }
        set { _labResultFolderPath = value; }
    }

    public static string CCDFolderPath
    {
        get { return _ccdFolderPath; }
        set { _ccdFolderPath = value; }
    }

    public static string CCRFolderPath
    {
        get { return _ccrFolderPath; }
        set { _ccrFolderPath = value; }
    }

    public static Guid ApplicationId
    {
        get { return _applicationId; }
        set { _applicationId = value; }
    }

    public static Guid PatientId
    {
        get { return _patientId; }
        set { _patientId = value; }
    }

    public static string HandleJunkChar(string divContent)
    {
        return divContent.Replace("<", "&lt;").Replace(">", "&gt;").Replace(Environment.NewLine, "<br />");
    }
}
